package com.linkhub.oms.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.FieldNameConstants;

/**
 * <p>
 * 商店商品sku表
 * </p>
 *
 * @author echo
 * @since 2024-03-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_shop_product_sku")
@ApiModel(value="ShopProductSkuEntity对象", description="商店商品sku表")
@FieldNameConstants
public class ShopProductSkuEntity implements Serializable {


    @ApiModelProperty(value = "主键")
    @TableId(value = "Fid", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "系统商店id")
    @TableField("Fsys_shop_id")
    private String sysShopId;

    @ApiModelProperty(value = "商品id")
    @TableField("Fproduct_id")
    private Long productId;

    @ApiModelProperty(value = "skuId")
    @TableField("Fsku_id")
    private Long skuId;

    @ApiModelProperty(value = "sku名称")
    @TableField("Ftitle")
    private String title;

    @ApiModelProperty(value = "sku")
    @TableField("Fsku")
    private String sku;

    @ApiModelProperty(value = "imgUrl")
    @TableField("Fimg_url")
    private String imgUrl;

    @ApiModelProperty(value = "sku创建时间")
    @TableField("Fcreated_at")
    private String createdAt;

    @ApiModelProperty(value = "sku更新时间")
    @TableField("Fupdated_at")
    private String updatedAt;

    @ApiModelProperty(value = "创建时间")
    @TableField("Fcreated_time")
    private LocalDateTime createdTime;

    @ApiModelProperty(value = "修改时间")
    @TableField("Fupdate_time")
    private LocalDateTime updateTime;


}
